package com.zcl.service2;

import com.zcl.pojo2.PageResult;
import com.zcl.pojo2.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll();

    PageResult<Student> findByPage(int page, int pageSize);

    PageResult<Student> search(int page, int pageSize, Student student);

    void insert(Student student);

    Student findById(String sid);

    void update(Student student);

    void delete(Student student);

}
